package com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smedi.ismedi.authoritymanagement.core.application.query.vo.RoleBasicVo;
import com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.model.RoleBasicEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleBasicMapper extends BaseMapper<RoleBasicEntity> {
    IPage<RoleBasicVo> selectRoleBasicPagination(Page<RoleBasicVo> page,
                                                 @Param("roleName") String roleName,
                                                 @Param("roleType") String roleType,
                                                 @Param("roleTypes") List<String> roleTypes);
}
